package com.example.demo.mapper;


import com.example.demo.ao.AttendanceRecordsAo;
import com.example.demo.ao.Holiday;
import com.example.demo.vo.AttendanceReportVo;
import com.example.demo.vo.AttendanceReportWeekVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


import java.time.LocalDate;
import java.util.List;

@Mapper
public interface AttendanceReportMapper {

    List<AttendanceReportVo> getAttendanceReport(@Param("ao") AttendanceRecordsAo attendanceRecordsAo);

    List<AttendanceReportWeekVo> getAttendanceReportWeek(@Param("ao") AttendanceRecordsAo attendanceRecordsAo);

    List<AttendanceReportWeekVo> getAttendanceReportMonth(@Param("ao") AttendanceRecordsAo attendanceRecordsAo);


    List<Holiday> getHolidaysBetween(LocalDate start, LocalDate end);

}
